package com.zutassociation.system.domain;


import com.zutassociation.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * 换届选举表 elect
 *
 * @author 黄玉东
 * @version 1.0
 * @date 2021/2/25 15:40
 */
public class Elect extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 换届选举ID
     */
    private Long electId;

    /**
     * 换届选举标题
     */
    private String electTitle;

    /**
     * 换届选举内容
     */
    private String electContent;

    /**
     * 换届选举状态（0正常 1关闭）
     */
    private String status;

    /**
     * 换届选举点击量
     */
    private Long click;

    /**
     * 图片地址
     */
    private String img;

    public Long getElectId() {
        return electId;
    }

    public void setElectId(Long electId) {
        this.electId = electId;
    }

    public String getElectTitle() {
        return electTitle;
    }

    public void setElectTitle(String electTitle) {
        this.electTitle = electTitle;
    }

    public String getElectContent() {
        return electContent;
    }

    public void setElectContent(String electContent) {
        this.electContent = electContent;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Long getClick() {
        return click;
    }

    public void setClick(Long click) {
        this.click = click;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("electId", getElectId())
                .append("electTitle", getElectTitle())
                .append("electContent", getElectContent())
                .append("status", getStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("click", getClick())
                .append("img", getImg())
                .toString();
    }
}
